<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js"></script>
<script src="./js/jQuery.js"></script>
<script>
function myFunction() {
	var tel = $('#tel').val();
    var hash = CryptoJS.MD5(tel);
	 $('#tel').val(hash);
}
</script>
<input type="text" id="tel" value='' size='100'/><br/><br/>
<button onclick="myFunction()">Click me</button>